package com.yjh.admin.entity.user;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色控制
 *
 * @author smithGuo
 * @date 2020-06-15 08:39:03
 */
@Data
@TableName("sys_role_menu")
@ApiModel(value = "角色" )
@EqualsAndHashCode(callSuper = true)
public class SysRoleMenu extends Model<SysRoleMenu> {
private static final long serialVersionUID = 1L;

    /**
   * 角色ID
   */
    @TableId
    @ApiModelProperty( value = "角色ID" ,name="roleId")
    private Integer roleId;


    /**
   * 菜单ID
   */
    @ApiModelProperty( value = "菜单ID" ,name="menuId")
    private Integer menuId;
  
}
